import java.util.*;

class Student implements Comparable<Student> {
    int age;
    String name;

    public Student(int age, String name) {
        this.age = age;
        this.name = name;
    }

    @Override
    public int compareTo(Student o) {
        return this.age-o.age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "age=" + age +
                ", name='" + name + '\'' +
                '}';
    }
}
public class Test {


    public static void main(String[] args) {
       /* Map<String,Integer>map=new TreeMap<>();
        map.put("A",4);
        map.put("D",3);
        map.put("D",9);
        map.put("C",1);
        System.out.println(map);*/
        Map<String,Integer>map=new HashMap<>();
        map.put("A",11);
        map.put("B",12);
        map.put("C",13);
        System.out.println(map);

    }
    public static void main1(String[] args) {
        binarySearchTree binarySearchTree=new binarySearchTree();
        binarySearchTree.add(60);
        binarySearchTree.add(80);
        binarySearchTree.add(90);
        binarySearchTree.add(50);
        binarySearchTree.add(20);
        binarySearchTree.add(40);
        binarySearchTree.inorder(binarySearchTree.root);
        System.out.println();
        binarySearchTree.remove(60);
        binarySearchTree.inorder(binarySearchTree.root);
    }
}
